package net.huashitong.keyan.dao;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;
import net.huashitong.keyan.entity.DubanPoJie;
import net.huashitong.keyan.filter.DubanPoJieFilter;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class DubanPoJieDao extends StringDao<DubanPoJie> {


        public List<DubanPoJie> getList(DubanPoJieFilter filter)
        {
            GenericQuery query = createQuery("obj");
            return query.listResult(filter);
        }

}
